package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.SysSiteMail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Repository
public interface SysSiteMailMapper extends Mapper<SysSiteMail> {
    List<SysSiteMail> getList(Map map);

    void deletsiteMail(Integer siteMailId);

    //修改状态
    Integer modifyStatusById(@Param("newStatus")Integer newStatus,@Param("oldStatus")Integer oldStatus,@Param("id")Integer id);
}